﻿mainModule.controller("listCtrl", ["$scope", "policySvc", "$controller", function ($scope, apiSvc, $controller) {
    "use strict";
    // instantiate base controller    
    $controller('BaseListCtrl', { $scope: $scope, apiSvc: apiSvc });
 
    var base = { onAddedEvent : $scope.onAddedEvent }
    $scope.onAddedEvent = function (e, item) {
        base.onAddedEvent(e, item);       
        item.StateID = 1; //Pending
    }    
}]);